package vnu.edu;

import jade.content.AgentAction;

public class NewsMaker implements AgentAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String userNameElement;
	private float sportPriority;
	private float technologyPriority;

	/**
	 * @return the userName
	 */
	public String getUserNameElement() {
		return userNameElement;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserNameElement(String userNameElement) {
		this.userNameElement = userNameElement;
	}

	/**
	 * @return the sportPriority
	 */
	public float getSportPriorityElement() {
		return sportPriority;
	}

	/**
	 * @param sportPriority
	 *            the sportPriority to set
	 */
	public void setSportPriorityElement(float sportPriority) {
		this.sportPriority = sportPriority;
	}

	/**
	 * @return the technologyPriority
	 */
	public float getTechnologyPriorityElement() {
		return technologyPriority;
	}

	/**
	 * @param technologyPriority
	 *            the technologyPriority to set
	 */
	public void setTechnologyPriorityElement(float technologyPriority) {
		this.technologyPriority = technologyPriority;
	}

	public String toString() {
		return "NewsMaker (" + userNameElement + ": " + sportPriority + " "
				+ technologyPriority + ")";
	}
}
